OUTPUT	=	game

COMPILER=	g++
INCLUDE	=	
PARAMS	=	

SOURCES	=	$(wildcard *.cpp)

all: $(OUTPUT)

$(OUTPUT): $(SOURCES:.cpp=.o)
	$(COMPILER) $(INCLUDE) $(PARAMS) $^ -o $@

%.o: %.cpp
	$(COMPILER) $(INCLUDE) $(PARAMS) -c $< -o $@

remake:
	$(MAKE) clean
	$(MAKE)

clean:
	rm -f *.o

